<?php
abstract class Core_Library_Database {
	abstract protected function connect($server, $user, $password, $database);
	abstract protected function disconnect();
	abstract protected function prepare($query);
	abstract protected function escape($data);
	abstract protected function query();
	abstract protected function update();
	abstract protected function insert();
	abstract protected function delete();
	abstract protected function fetch($type = 'object');
}